<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Awesome UI</title>

    <link href="../../css/bootstrap.min.css" rel="stylesheet">
    <link href="../../css/theme.css" rel="stylesheet">
    <link href="../../css/animate.min.css" rel="stylesheet">
    <link href="../../css/font-awesome.min.css" rel="stylesheet">
    <link href="../../css/awesome.css" rel="stylesheet"/>
    <link href="../../css/plugins/form.css" rel="stylesheet"/>

    <!--[if lt IE 9]>
    <script src="../../js/html5shiv.min.js"></script>
    <script src="../../js/respond.min.js"></script>
    <![endif]-->
</head>
<body>

<!-- Begin: Content -->
<section id="content" class="animated fadeIn">

    <h1>ValidateBox</h1>

    <div class="row center-block mt10">
        <div class="col-md-6">
            <div class="as-panel">
                <div class="as-panel-header">
                    <div class="as-panel-title">ValidateBox</div>
                </div>
                <div class="as-panel-body">
                    <form>
                        <div class="as-form-group">
                            <label class="col-md-3 as-control-label">Email</label>
                            <div class="col-md-9">
                                <input type="text" class="as-form-control as-validatebox" data-options="validType:'email'"/>
                            </div>
                        </div>
                        <div class="as-form-group has-error">
                            <label class="col-lg-3 as-control-label" for="inputError">验证错误</label>
                            <div class="col-lg-9">
                                    <span class="as-append-icon right">
                                        <i class="fa fa-remove"></i>
                                    </span>
                                <input type="text" class="as-form-control" id="inputError">
                                <b class="tooltip tip-right">
                                    <em>输入信息错误，请重新输入！</em>
                                </b>
                            </div>
                        </div>
                        <div class="as-form-group has-success">
                            <label class="col-lg-3 as-control-label" for="inputSuccess">验证成功</label>
                            <div class="col-lg-9">
                                <input type="text" class="as-form-control" id="inputSuccess">
                                    <span class="as-append-icon right">
                                        <i class="fa fa-check"></i>
                                    </span>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- End: Content -->

<script src="../../js/jquery-1.11.2.min.js"></script>
<script src="../../js/bootstrap.min.js"></script>
<script src="../../js/plugins/parser.js"></script>
<script src="../../js/plugins/validatebox.js"></script>

</body>
</html>